test-xattrs: use TAP syntax to skip test
authorSimon McVittie <smcv@debian.org>
Mon, 28 Mar 2016 12:08:32 +0000 (13:08 +0100)
committerColin Walters (automation) <walters+githubbot@verbum.org>
Thu, 31 Mar 2016 14:22:06 +0000 (14:22 +0000)
Signed-off-by: Simon McVittie <smcv@debian.org>
Closes: #232
Approved by: cgwalters

tests/test-xattrs.sh

index 6a83a0bcebd78a9c6301c8e8cd83966331fb0a32..2f2d99ccac2cbe9aef4a6431435fad76c1b21eda 100755 (executable)
@@ -21,7 +21,8 @@ set -euo pipefail
 
 touch test-xattrs
 if ! setfattr -n user.testvalue -v somevalue test-xattrs; then
-    exit 77
+    echo "1..0 # SKIP: cannot run setfattr"
+    exit 0
 fi
 
 echo "1..2"